<template>
  <div>
    <div class="title">
      <router-link to="/longin" exact>登录</router-link>
      <router-link to="/registered" exact>注册</router-link>
      <router-link to="/article" exact>文章</router-link>
      <router-link to="/list" exact>列表</router-link>
    </div>
    <div class="top">
      <router-view> </router-view>
    </div>
  </div>
</template>
 
<script>
export default {
  name: "",
  components: {},
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped lang="less">
.title {
  display: flex;
  height: 60px;
  padding-left: 10px;
  a {
    font-size: 28px;
    text-decoration: none;
    color: #087;
    box-shadow: #087;
  }
}
.top {
  width: 500px;
  height: 500px;
}
.router-link-active {
  color: red !important;
}
</style>